import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder={"time", "homeTeam" , "homeScore", "awayTeam", "awayScore" })
@XmlRootElement

public class Match {
	
	String country;
	String league;
	String homeTeam;
	String awayTeam;
	int homeScore;
	int awayScore;
	String time;
	
	public String getCountry() {
		return country;
	}
	@XmlAttribute(name = "country")
	public void setCountry(String country) {
		this.country = country;
	}
	
	public String getLeague() {
		return league;
	}
	@XmlAttribute(name = "league")
	public void setLeague(String league) {
		this.league = league;
	}
	
	public String getHomeTeam() {
		return homeTeam;
	}
	@XmlElement
	public void setTime(String time) {
		this.time = time;
	}
	@XmlElement
	public void setHomeTeam(String homeTeam) {
		this.homeTeam = homeTeam;
	}
	@XmlElement
	public void setHomeScore(int homeScore) {
		this.homeScore = homeScore;
	}
	
	public String getAwayTeam() {
		return awayTeam;
	}
	@XmlElement
	public void setAwayTeam(String awayTeam) {
		this.awayTeam = awayTeam;
	}
	
	@XmlElement
	public void setAwayScore(int awayScore) {
		this.awayScore = awayScore;
	}
	
	public int getHomeScore() {
		return homeScore;
	}

	
	public int getAwayScore() {
		return awayScore;
	}

	public String getTime() {
		return time;
	}


	

}
